package com.xzw.test.springcloud.alibaba;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * 消费者死活拿不到提供者
 * 提供者在nacos能看到，但是消费者拿不到，原因一直不明，折腾2天了
 */

@EnableDiscoveryClient
@DubboComponentScan("com.xzw.test.springcloud.alibaba.api")
@SpringBootApplication
public class ConsumerApp{

    public static void main( String[] args ){
        SpringApplication.run(ConsumerApp.class,args);
    }
}
